package org.example.course.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.example.commonapi.domain.CourseExams;
import org.example.commonapi.dto.ExamFinish;
import org.example.course.service.CourseExamsService;
import org.example.commonapi.mapper.CourseExamsMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
* @author DELL
* @description 针对表【course_exams(课程考试)】的数据库操作Service实现
* @createDate 2024-06-23 12:29:42
*/
@Service
public class CourseExamsServiceImpl extends ServiceImpl<CourseExamsMapper, CourseExams>
    implements CourseExamsService{

    @Resource
    private CourseExamsMapper courseExamsMapper;

    @Override
    public List<ExamFinish> listExamDetail(Long courseId) {
        List<ExamFinish> list=courseExamsMapper.listExamDetail(courseId);

        return list;
    }
}




